<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2021/1/28
  Time: 上午10:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--了解  jstl

-->
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<!--了解-->

  <shiro:authenticated>
      <!--登录成功-->
      ${sessionScope.username},欢迎您！！
  </shiro:authenticated>
    <br>
  <hr>
   <shiro:hasRole name="管理员">
       <a href="#">系统管理</a>
   </shiro:hasRole>
    <br>
    <shiro:hasPermission name="sys:user:*">
        <a href="#">用户管理</a>
    </shiro:hasPermission>

  <!--用户信息-->
    <shiro:principal></shiro:principal>




</body>
</html>
